package kunula;

public class student {

	String name;
	int grade;
	/**
	 * @param name
	 * @param grade
	 */
	public student(String name, int grade) {
		this.name = name;
		this.grade = grade;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the grade
	 */
	public int getGrade() {
		return grade;
	}
	/**
	 * @param grade the grade to set
	 */
	public void setGrade(int grade) {
		this.grade = grade;
	}
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "student [name=" + name + ", grade=" + grade + "]";
	}
	
	
}
